
if __name__ == '__main__':
    lcnum = []
    with open("result301.txt","r",encoding="utf-8") as fi:
        for line in fi:
            s =line.strip().split(":")
            lcnum.append([s[0],eval(s[1])])
    lcnum.sort(key=lambda x: x[1], reverse=True)
    lz = 0
    lw  = 0
    for l in lcnum:
        if l[1] == "0":
            lz += 1
        elif int(l[1]) > 10000:
            lw += 1
    print("流感人数最多的地区是{}，人数是{}".format(lcnum[0][0],lcnum[0][1]))
    print("流感人数超过1万的地区有{}个".format(lw))
    print("流感人数为0的地区有{}个".format(lz))